﻿using RpcModel;
using SqlExecHelper;
using Wedonek.RpcStore.Service.Helper;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.DAL
{
        internal class AutoTaskLogDAL : SqlBasicClass
        {
                public AutoTaskLogDAL () : base ("AutoTaskLog", "RpcExtendService")
                {

                }
                public TaskLog[] Query (TaskLogQuery query, IBasicPage paging, out long count)
                {
                        paging.InitOrderBy ("Id", true);
                        return base.Query<TaskLog> (paging.OrderBy, paging.Index, paging.Size, out count, query.ToWhere ());
                }
        }
}
